<!DOCTYPE html>
<html>
<head>
<title>我的笔记!</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<script type="text/javascript" src="../../lib/angular/angular.js" ></script>
<script type="text/javascript" src="MyNote.js" ></script>

</head>
<body ng-app="myNoteApp" ng-controller="myNoteCtrl">
	<h2>我的笔记</h2>
	<textarea ng-model="message" cols="40" rows="10"></textarea>
	<p>
		<button ng-click="save()">保存</button>
		<button ng-click="clear()">清除</button>
	</p>

	<p>剩余字数: <span ng-bind="left()"></span></p>
</body>
</html>
